package elcs.member.model;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import elcs.board.model.ListVO;

public interface MemberService {


	MemberVO login(HttpSession session, MemberVO mvo);

	void logout(HttpSession session);

	boolean checkMemberById(String id);

	boolean checkMemberByNick(String nick);

	void register(MemberVO mvo);

	ListVO findAllMember(HttpServletRequest request) throws Exception;

	MemberVO findByMemberId(String id);

	void updateMemberByLevelPoint(MemberVO mvo);

	ListVO manageFindByMethodAllList(HttpServletRequest request, String method,
			String value) throws Exception;

	boolean updateMemberByPassword(MemberVO mvo);
	
	List<MemberVO> mypageMyInfo(HttpSession session);
	
	void mypageUpdate(MemberVO mvo);
		
	void mypageDelete(MemberVO mvo);

	MemberVO findByMemberSsn(int ssn);

	Map suchMember(String method, MemberVO mvo);

}
